<template>
  <Layout>
    <div class="support">
      <SupportBanner :bannerImg="bannerImg" :title="title"/>
      <a-tabs class="tab" default-active-key="1">
        <a-tab-pane key="1" tab="Contact Us">
          <div class="content">
            <ContactCom />
          </div>
        </a-tab-pane>
        <a-tab-pane key="2" tab="Distributor">
          <div class="content">
            <DistributorCom />
          </div>
        </a-tab-pane>
        <a-tab-pane key="3" tab="Tradeshow">
          <div class="content">
            <TradeShowsCom />
          </div>
        </a-tab-pane>
        <a-tab-pane key="4" tab="Send Message">
          <div class="content">
            <MessageCom />
          </div>
        </a-tab-pane>
      </a-tabs>
    </div>
  </Layout>
</template>

<script>
import Layout from '/@/components/layout/Layout.vue'
import SupportBanner from '/@/components/SupportBanner.vue'
import ContactCom from "/@/components/contact/ContactCom.vue";
import MessageCom from "/@/components/contact/MessageCom.vue";
import DistributorCom from "/@/components/contact/DistributorCom.vue";
import TradeShowsCom from "/@/components/contact/TradeShowsCom.vue";
import contactImg from "../assets/images/contact/4. contact banner.jpg"
export default {
  name: 'Contact',
  components:{Layout,SupportBanner, ContactCom, MessageCom, DistributorCom, TradeShowsCom},
  setup(){
    const bannerImg = contactImg
    const title = "Contact"
    return {
      bannerImg,
      title,
    }
  }
}
</script>

<style lang="scss" scoped>
.support {
  background:#d3d3d3;
  ::v-deep .ant-tabs-nav-wrap{
    text-align: center;
    background-color:#1d1d1b;
    .ant-tabs-nav{
      .ant-tabs-tab{
        color:white;
      }
    }
  }
  .content{
    margin:0 auto;
    width:70vw;
  }
}
</style>

